from fastapi import FastAPI
from fastapi.middleware.wsgi import WSGIMiddleware

from flask_app import flask_app

app = FastAPI()

@app.get('/')
def demo():

    return '这里是FastAPI'

app.mount('/flask-api', WSGIMiddleware(flask_app))